fix(gatsby-plugin-sharp): Upgrade probe-image-size to fix memory leak warning#35009
Merged
Conversation
Contributor
|
@jonohewitt Hi! You'll need to run |
Contributor
Author
|
Hi @LekoArts! Sorry about that - I've pushed another commit updating the |
probe-image-size to fix memory leak warning
|
Hi! I am occurring in this error as well for an existing project which runs on npm. How could I fix this? |
Contributor
Author
|
Hi @ayushayagatsby, it looks like this fix was included in gatsby releases since 4.10 so you would just have to update gatsby to a version since then. • Docs for updating Gatsby |
raffishquartan
pushed a commit
to raffishquartan/gatsby
that referenced
this pull request
Apr 28, 2026
…ak warning (gatsbyjs#35009) Co-authored-by: Ward Peeters <ward@coding-tech.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Upgrades
probe-image-sizeto^7.0.0to fix theMaxListenersExceededWarningconsole error caused by versions prior to nodeca/probe-image-size@a6da059Thanks to @hendra-go for discovering the cause of the issue.
Related Issues
Fixes #34795